package com.shunli.cterminal.enums;

import com.examples.core.enums.BaseEnum;
import lombok.Getter;

/**
 * <p>
 * 时间类型 0-时间段 HH:mm:ss 1-日期yyyy-MM-dd 2-节假日(暂无) 3-星期
 * </p>
 *
 * @author daodao
 * @since 2025-05-05 11:23
 */
@Getter
public enum TimeTypeEnum implements BaseEnum<String> {

    DATA_TIME("0", "时间段"),
    DATA("1", "日期"),
    HOLIDAYS("2", "节假日"),
    WEEK("3", "星期");


    private final String code;
    private final String desc;

    TimeTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
